﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login_div.aspx.cs" Inherits="YiCreateWebApp.User.Login_div" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <link href="../Styles/PageStyle.css" rel="Stylesheet" type="text/css " />
    <title>管理员登录</title>
</head>
<body>
    <center>
        <form id="form1" runat="server">
        <div>
            <h2 align="center">
                管理员登录</h2>
        </div>
        <div class="login">
            <div class="input">
                <div class="cssusername">
                    <asp:Label ID="Label1" runat="server" Text="管理员姓名："></asp:Label>
                    <asp:TextBox ID="txtUserName" runat="server" Width="130px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtUserName"
                        ForeColor="red" ErrorMessage="*"></asp:RequiredFieldValidator>
                </div>
                <div class="csspassword">
                    <asp:Label ID="Label2" runat="server" Text="管理员密码："></asp:Label>
                    <asp:TextBox ID="txtPwd" TextMode="Password" runat="server" Width="130px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtPwd"
                        ForeColor="red" ErrorMessage="*"></asp:RequiredFieldValidator>
                </div>
                <div class="cssvalidatenum">
                    <asp:Label ID="Label3" runat="server" Text="验证码："></asp:Label>
                    <asp:TextBox ID="txtValidateNum" runat="server" Width="130px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtValidateNum"
                        ForeColor="red" ErrorMessage="*"></asp:RequiredFieldValidator>
                    <asp:Image ID="Image1" runat="server" Height="22px" Width="58px" ImageUrl="~/User/ValidateNum.aspx" />
                    <asp:Label ID="Label4" runat="server" Text="请输入图片中的验证码!"></asp:Label>
                </div>
            </div>
            <div class="btn">
                <asp:Button ID="btnmLogin" runat="server" Text="登录" OnClick="btnmLogin_Click" />
                <%--                <asp:Button ID="btnmRegister" runat="server" Text="注册" OnClick="btnmRegister_Click" />
                --%>
                <asp:Button ID="btnmRegister" runat="server" Text="注册" OnClick="btnmRegister_Click" CausesValidation="false" />
            </div>
        </div>
        </form>
    </center>
</body>
</html>
